<%@page import="hyl.core.MyFun"%>
<%@page import="hyl.core.net.MyHttp"%>
<%@page import="java.net.HttpURLConnection"%>
<%@page import="java.io.PrintWriter"%>
<%@page import="com.alibaba.fastjson.JSON"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	PrintWriter shuchu = response.getWriter();
	String str = request.getParameter("str");
	HttpURLConnection conn=MyHttp.sendGet("https://"+str);
	String s=MyHttp.getResult(conn);
	//System.out.println(s);
	String To=MyHttp.getText(s, new String[]{"\"room_id_str\":\"", "\""});
	shuchu.print(To);
	shuchu.flush();
	shuchu.close();
%>